import { request } from "@/utils/request.js"

// 商品详情
export function goodsInfo(data = {}) {
	return request({
		url: '/user/goods/info',
		data
	})
}

// 商品列表
export function goodsPage(data = {}) {
	return request({
		url: '/user/goods/page',
		data
	})
}

// 商品运费
export function goodsFreight(data = {}) {
	return request({
		url: '/user/goods/freight',
		data
	})
}

// 拼团列表
export function goodsPinPage(data = {}) {
	return request({
		url: '/user/goods/pinPage',
		data
	})
}

// 拼团用户列表
export function goodsPinUserList(data = {}) {
	return request({
		url: '/user/goods/pinUserList',
		data
	})
}

// 秒杀顶部即将开售时间
export function goodsLastFirstKillTimeLater(data = {}) {
	return request({
		url: '/user/goods/lastFirstKillTimeLater',
		data
	})
}